package com.play2gether;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

/**
 * Created by Raul on 5/04/14.
 */
public class BarraSuperiorFragment extends Fragment  implements View.OnClickListener {

    public Button btFormulario;
    public Button btSugerencia;
    public Button btMenu;
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view;

        view = inflater.inflate(R.layout.navbar,container);

        btFormulario = (Button) view.findViewById(R.id.btFormularioNV);
        btSugerencia = (Button) view.findViewById(R.id.btSugerencia);
        btMenu       = (Button) view.findViewById(R.id.btMenu);

        btFormulario.setOnClickListener(this);
        btSugerencia.setOnClickListener(this);
        btMenu.setOnClickListener(this);

        return view;
    }

    @Override
    public void onClick(View view) {
        /*switch (view.getId()) {
            case R.id.btFormulario:
                break;
            case R.id.btSugerencia:
                break;
            case R.id.btMenu:
                break;
        }*/
    }
}
